Previous Book Contents Book Index Next

Inside Macintosh: QuickTime /
Chapter 2 - Movie Toolbox / Movie Toolbox Reference
Functions for Editing Movies / Editing Movies


ClearMovieSelection

The ClearMovieSelection function removes the segment of the movie that is defined by the current selection.

pascal void ClearMovieSelection (Movie theMovie); 
theMovie
Specifies the movie for this operation. Your application obtains this movie identifier from such functions as NewMovie, NewMovieFromFile, and NewMovieFromHandle (described on page 2-80, page 2-76, and page 2-78, respectively).
DESCRIPTION
After removing the segment, the Movie Toolbox sets the duration of the movie's current selection to 0 and the selection time remains unchanged. This function removes empty tracks from the resulting movie.

ERROR CODES
invalidMovie-2010This movie is corrupted or invalid

Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996